lxi h,2000h
mvi b,8
mvi a,10101010b
petla:
 mov m,a
 cma
 inx h
 dcr b
 jnz petla
hlt
